php multidimensional array get all values by key

68

php multidimensional array get all values by key -

$ids = array_column($users, 'id');

Comments

Submit
0 Comments